﻿<UserControl x:Class="SharePointRing.Controls.NewWebApplication"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <Button Content="Button" HorizontalAlignment="Left" Margin="419,282,-194,-2" VerticalAlignment="Top" Width="75" Click="CreateWebApplication"/>
        <TextBox x:Name="PortTextBox" HorizontalAlignment="Left" Height="23" Margin="114,62,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TextChanged="PortTextBox_TextChanged"/>
        <TextBox x:Name="DatabaseServerNameTextBox" HorizontalAlignment="Left" Height="23" Margin="383,11,-203,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <TextBox x:Name="IisPathTextBox" HorizontalAlignment="Left" Height="23" Margin="114,100,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Button Content="Button" HorizontalAlignment="Left" Margin="410,96,-185,0" VerticalAlignment="Top" Width="75" Click="Button_Click_1"/>
        <Label Content="Port" HorizontalAlignment="Left" Margin="40,62,0,0" VerticalAlignment="Top"/>
        <Label Content="Database Server" HorizontalAlignment="Left" Margin="245,9,-41,0" VerticalAlignment="Top"/>
        <Label Content="IIS path" HorizontalAlignment="Left" Margin="22,96,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="NameTextBox" HorizontalAlignment="Left" Height="23" Margin="104,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Label Content="Name" HorizontalAlignment="Left" Margin="30,21,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="DatabaseNameTextBox" HorizontalAlignment="Left" Height="23" Margin="383,43,-203,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Label Content="Database Name" HorizontalAlignment="Left" Margin="245,41,-39,0" VerticalAlignment="Top"/>
        <TextBox x:Name="ApplicationPoolIdentityTextBox" HorizontalAlignment="Left" Height="23" Margin="198,217,-18,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Label Content="Application Pool Identity" HorizontalAlignment="Left" Margin="40,214,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="ApplicationPoolUserNameTextBox" HorizontalAlignment="Left" Height="23" Margin="198,248,-18,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Label Content="Application Pool Username" HorizontalAlignment="Left" Margin="40,245,0,0" VerticalAlignment="Top"/>
        <Label Content="Application Pool Password" HorizontalAlignment="Left" Margin="40,276,0,-2" VerticalAlignment="Top"/>
        <ComboBox x:Name="ApplicationPoolsComboBox" HorizontalAlignment="Left" Margin="40,170,0,0" VerticalAlignment="Top" Width="120" IsEnabled="False" SelectionChanged="ApplicationPoolsComboBox_SelectionChanged" DisplayMemberPath="Name"/>
        <Label Content="Use existing" HorizontalAlignment="Left" Margin="30,139,0,0" VerticalAlignment="Top"/>
        <CheckBox x:Name="CreateNewAppPoolCheckBox" Content="Create new" HorizontalAlignment="Left" Margin="194,170,0,0" VerticalAlignment="Top" Click="CheckBox_Checked_1" IsChecked="True"/>
        <ComboBox x:Name="ManagedAccountsComboBox" HorizontalAlignment="Left" Margin="340,249,-160,0" VerticalAlignment="Top" Width="120" SelectionChanged="ManagedAccountsComboBox_SelectionChanged" DisplayMemberPath="Username"/>
        <PasswordBox x:Name="ApplicationPoolPasswordTextBox" HorizontalAlignment="Left" Margin="198,276,-18,0" VerticalAlignment="Top" Width="120" Height="24"/>

    </Grid>
</UserControl>
